class Student {
    fullName: string;

    constructor(public firstName: string, public middleInitial: string, public lastName: string) {
        this.fullName = firstName + ` ` + middleInitial + ` ` + lastName;
    }
}
interface Person {
    firstName: string;
    lastName: string;
}

function greeter(person: Person) {
    return `hello` + person.firstName + person.lastName;
}
const st = new Student(`Jane`, `M.`, `User`);
console.log(st.fullName);
